#include "phasefilterdialog.h"
#include "ui_phasefilterdialog.h"

PhaseFilterDialog::PhaseFilterDialog(QWidget *parent, MainApp *_app) : QDialog(parent), ui(new Ui::PhaseFilterDialog)
{
    ui->setupUi(this);
    m_MainApp = _app;
}

PhaseFilterDialog::~PhaseFilterDialog()
{
    delete ui;
}

void PhaseFilterDialog::on_pushButton_clicked()
{
    int k = ui->lineEdit->text().toInt();
    int l = ui->lineEdit_2->text().toInt();

    m_MainApp->PhaseModFilter(k, l);
}
